package com.lvt.design.pattern.action.observer.p2pdemo.refactor;

/**
 * desc：class
 *
 * @author LT
 * @date 2022/12/4
 */
public class RegNotificationObserver implements RegObserver {

    private NotificationService notificationService;
    @Override
    public void handleRegSuccess(Long userId) {
     notificationService.sendInboxMessage(userId, "Welcome..");
    }
}
